package com.pinda.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pinda.auth.entity.PdAuthResource;

import java.util.List;

/**
 * <p>
 * 资源 Mapper 接口
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-14
 */
public interface PdAuthResourceMapper extends BaseMapper<PdAuthResource> {
    /**
     *  TODO 根据角色id查询具有的资源
     * @param roleId
     * @return List<PdAuthResource>
     */
    List<PdAuthResource> findRoleByIdResource(String roleId);
}
